package com.leyou.entity;

import lombok.Data;
import lombok.experimental.Accessors;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table(name = "ceshi")
@Accessors(chain = true)
public class Friends {
    @Id
    @KeySql(useGeneratedKeys = true)
    private Object id;
    private String roleCode;
    private String name;
    private Integer age;

}
